[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SAVESCRN
Function
Save the current screen to a buffer for later restoration with RESTSCRN.
Syntax
SAVESCRN No arguments are required
Remark
PCBoard will save and restore the screen before and after certain
functions, such as SysOp chat. This allows the user to continue right
where he left off without having to remember what was on the screen
before being interrupted. You can add that same functionality with
SAVESCRN and RESTSCRN. SAVESCRN allocates memory for a buffer in which
to save the screen. If SAVESCRN isn't followed by RESTSCRN then that
memory will never be deallocated. Finally, this statement will work
regardless of ANSI availability; this statement will only save the
screen up to the position of the cursor. It is assumed that the screen
can be safely restored using standard teletype conventions to just scroll
the data onto the display.
Examples
SAVESCRN
CLS
PRINTLN "We interrupt your regular BBS session"
PRINTLN "with this important message:"
NEWLINE
PRINTLN "A subscription to this system only costs $5!"
PRINTLN "Subscribe today!"
NEWLINES 2
WAIT
RESTSCRN
See Also:
RESTSCRN
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson